package springboot.hello.helloSpringboot.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import springboot.hello.helloSpringboot.entity.Hoslist;
import springboot.hello.helloSpringboot.entity.Orlist;
import springboot.hello.helloSpringboot.mapper.OrlistMapper;

@Component
public class PersonalService {
    @Autowired
    public OrderMapper mapper;


    public RegistrationForm findRegistrationForm(){
        RegistrationForm registrationForm=mapper.findRegistrationForm();
        return registrationForm;
    }

    public HospitalizationForm findHospitalizationForm(){
        HospitalizationForm hospitalizationForm=mapper.findHospitalizationForm();
        return hospitalizationForm;
    }



}
